package fr.vincent.aquarium.metier.plantes;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import fr.vincent.aquarium.metier.article.Article;

@Entity
@Table(name = "plante")
public class Plante extends Article implements Serializable {

	private static final long serialVersionUID = -409733265964246464L;

	private String couleur;
	private String infos; 
	private String croissance;

	@Column(name = "couleur", nullable = false)
	public String getCouleur() {
		return couleur;
	}

	public void setCouleur(String couleur) {
		this.couleur = couleur;
	}

	@Column(name = "infos", nullable = false)
	public String getInfo() {
		return infos;
	}

	public void setinfo(String info) {
		this.infos = info;
	}
	
	@Column(name = "croissance", nullable = false)
	public String getCroissance() {
		return croissance;
	}

	public void setCroissance(String croissance) {
		this.croissance = croissance;
	}
}
